﻿@model IEnumerable<LessonHK.Models.Student>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>View</title>
</head>
<body>
    <div>
        @Html.ActionLink("Creat New","Create")
    </div>
    <div>@Html.DisplayNameFor(n=>n.FirstName)</div>
    <div>@Html.DisplayNameFor(n=>n.LastName)</div>
    @foreach (var item in Model)
    {
        <div>@Html.DisplayFor(n=>item.FirstName)</div>
        <div>@Html.DisplayFor(n=>item.LastName)</div>
    }
</body>
</html>
